using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class rq_jyxy {

		[JsonProperty, Column(IsPrimary = true)]
		public Guid id { get; set; }

		[JsonProperty, Column(StringLength = 100)]
		public string AppId { get; set; }

		[JsonProperty]
		public DateTime? bdsj { get; set; }

		[JsonProperty, Column(StringLength = 150)]
		public string beizhu { get; set; }

		[JsonProperty]
		public DateTime? bhrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string BillNum { get; set; }

		[JsonProperty]
		public int? bkaokm { get; set; }

		[JsonProperty]
		public DateTime? bmrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string chexing { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string chuhao { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string csrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dabh { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dabh1 { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? dasfqq { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50)]
		public string dizhi { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dqczr { get; set; }

		[JsonProperty]
		public DateTime? dqczsj { get; set; }

		[JsonProperty]
		public Guid? dyjlid { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string fcczr { get; set; }

		[JsonProperty]
		public DateTime? fcczsj { get; set; }

		[JsonProperty]
		public DateTime? fcsj { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string fphao { get; set; }

		[JsonProperty]
		public DateTime? gdangrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string hehao { get; set; }

		[JsonProperty]
		public int? InsuranceMoney { get; set; }

		/// <summary>
		/// 是否是网络报名 0或null是现场报名  1是网络报名
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int iswlbm { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50)]
		public string jdczr { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string jdrq { get; set; }

		[JsonProperty]
		public int? jf_ksf_jjds { get; set; }

		[JsonProperty, Column(DbType = "numeric(18,2)")]
		public decimal? jf_ksf_jjds_money { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string jfjedx { get; set; }

		[JsonProperty]
		public DateTime? jfrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string jiemc { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string jlykm2 { get; set; }

		[JsonProperty]
		public Guid? jlykm2Id { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string jlykm3 { get; set; }

		[JsonProperty]
		public Guid? jlykm3Id { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? jwda1 { get; set; } = 0;

		[JsonProperty, Column(CanInsert = false)]
		public int? jwda2 { get; set; } = 0;

		[JsonProperty, Column(CanInsert = false)]
		public int? jwda3 { get; set; } = 0;

		[JsonProperty]
		public Guid? JxCode { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? jzffbz { get; set; } = 0;

		[JsonProperty]
		public DateTime? jzrq { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? k1fubz { get; set; } = 0;

		[JsonProperty, Column(CanInsert = false)]
		public int? k2fubz { get; set; } = 0;

		[JsonProperty, Column(CanInsert = false)]
		public int? k3fubz { get; set; } = 0;

		[JsonProperty, Column(CanInsert = false)]
		public int km1_hg { get; set; } = -1;

		[JsonProperty]
		public Guid? km1_ksyy_record_id { get; set; }

		[JsonProperty]
		public DateTime? km1rq { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int km1sbbz { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50, CanInsert = false)]
		public string km1shbeizhu { get; set; } = "0";

		[JsonProperty, Column(StringLength = 100)]
		public string km1tsqkbz { get; set; }

		[JsonProperty]
		public int? km2_firstFc { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int km2_hg { get; set; } = -1;

		[JsonProperty]
		public Guid? km2_ksyy_record_id { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? km2fcsh { get; set; } = 0;

		[JsonProperty]
		public DateTime? km2rq { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int km2sbbz { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50, CanInsert = false)]
		public string km2shbeizhu { get; set; } = "0";

		[JsonProperty]
		public int? km3_firstFc { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int km3_hg { get; set; } = -1;

		[JsonProperty]
		public Guid? km3_ksyy_record_id { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? km3fcsh { get; set; } = 0;

		[JsonProperty]
		public DateTime? km3rq { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int km3sbbz { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50, CanInsert = false)]
		public string km3shbeizhu { get; set; } = "0";

		[JsonProperty, Column(CanInsert = false)]
		public int km4_hg { get; set; } = -1;

		[JsonProperty]
		public Guid? km4_ksyy_record_id { get; set; }

		[JsonProperty]
		public DateTime? km4rq { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int km4sbbz { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50, CanInsert = false)]
		public string km4shbeizhu { get; set; } = "0";

		[JsonProperty, Column(CanInsert = false)]
		public int km5_hg { get; set; } = -1;

		[JsonProperty]
		public DateTime? km5rq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string liush { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string lxdh { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string mc { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string minzu { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? mnks { get; set; } = 0;

		[JsonProperty]
		public DateTime? mnks1rq { get; set; }

		[JsonProperty, Column(StringLength = 50, CanInsert = false)]
		public string mnks4 { get; set; } = "0";

		[JsonProperty, Column(StringLength = 50)]
		public string mnks4Fenshu { get; set; }

		[JsonProperty]
		public DateTime? mnks4rq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string mnksFenshu { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string pic { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string pxd { get; set; }

		[JsonProperty]
		public DateTime? pxjlrq { get; set; }

		[JsonProperty]
		public DateTime? rxsj { get; set; }

		[JsonProperty, Column(StringLength = 1, CanInsert = false)]
		public string sfdabh { get; set; } = "0";

		[JsonProperty, Column(StringLength = 10, CanInsert = false)]
		public string sfdt { get; set; } = "0";

		[JsonProperty, Column(CanInsert = false)]
		public double sfje { get; set; } = 0d;

		[JsonProperty, Column(CanInsert = false)]
		public int? sfjf { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50)]
		public string sfwdxy { get; set; }

		[JsonProperty, Column(StringLength = 300, CanInsert = false)]
		public string sfxgbeizhu { get; set; } = "";

		[JsonProperty, Column(CanInsert = false)]
		public int sfzff { get; set; } = -1;

		[JsonProperty, Column(DbType = "varchar(50)")]
		public string sfzffbz { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string sfzh { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string sfzj { get; set; }

		[JsonProperty]
		public DateTime? sfzrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string sjh { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string skr { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string slph { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string songmc { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string tbyuyin { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public double totalMoney { get; set; } = 0d;

		[JsonProperty]
		public DateTime? txrq { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xb { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xh { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xiaoqu { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xxlx { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int? xybd { get; set; } = 0;

		[JsonProperty, Column(CanInsert = false)]
		public int? xycdqkb { get; set; } = 1;

		[JsonProperty, Column(StringLength = 50)]
		public string xydanbianhao { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xyfcqb { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xyszzd { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string xyszzd1 { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int xytx { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50)]
		public string yjsz { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string youbian { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string yyr { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string zfczr { get; set; }

		[JsonProperty]
		public DateTime? zfczsj { get; set; }

		[JsonProperty, Column(DbType = "image")]
		public byte[] zhaopian { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string zhuzhi { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string zzzh { get; set; }

	}

}
